<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        function shop(th, money, color) {
            console.log('您购买的是' + th);
            console.log('您购买的是' + money);
            console.log('您购买的是' + color);
            console.log('---------------------');
        }
        shop('番茄', '10元', '红色');
        shop('土豆', '6元', '黄色');
        shop('黄瓜', '2元', '绿色');



        function go(){

        }
    </script>
</body>

</html>